<!DOCTYPE html>
<html lang="en">
<?php $this->load->view('vheader'); ?>
	<body>
		<?php $this->load->view('vnavbar'); ?>
		<div class="main-container" id="main-container">
<?php $this->load->view('vsidebar'); ?>
 <div class="breadcrumbs" id="breadcrumbs">
						<script type="text/javascript">
							try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
						</script>

						<ul class="breadcrumb">
							<li>
								<i class="icon-home home-icon"></i>
								<a href="<?= site_url() ?>/home">Home</a>
							</li>

							<li>
								Import Data Excel 
							</li>
                                                        
                                                       
							<li class="active"> Import BBM</li>
						</ul><!-- .breadcrumb -->

					</div>
<div class="space-10"></div>

   <?php
    $pesan = $this->session->flashdata('message');
    if (!empty($pesan)) {
        ?>
    <div class="alert alert-danger">
        <button class="close" data-dismiss="alert" type="button">
            <i class="icon-remove"></i>
        </button>
        <center><strong>
                <?php echo $this->session->flashdata('message'); ?>
            </strong>
            <br></center>
    </div>
    <?php
    }
?>
 <?php
    $pesan = $this->session->flashdata('messages');
    if (!empty($pesan)) {
        ?>
    <div class="alert alert-success">
        <button class="close" data-dismiss="alert" type="button">
            <i class="icon-remove"></i>
        </button>
        <center><strong>
                <?php echo $this->session->flashdata('messages'); ?>
            </strong>
            <br></center>
    </div>
    <?php
    }
?>
<!--<form action="<?= site_url() ?>/Listrik/simpanListrik" method="post" id="form" name="form" enctype="multipart/form-data" onSubmit="return validasi(this)">-->
<form action="<?= site_url() ?>/importexcel/BBM" method="post" enctype="multipart/form-data" role="form">
<div class="widget-header"><h5><i class="icon-edit"></i>Import Data Excel BBM</h5></div>
<div class="widget-body">

    <div class="align-right">
            <a href="<?= site_url() ?>/importexcel/downloadBBM" id="id-add-attachment" type="file"  class="btn btn-sm btn-danger">
                    <i class="icon-paper-clip bigger-140"></i>
                    Add Attachment
            </a>
    </div>

	<div class="form-horizontal" role="form">
                <div class="form-group">
			<label class="col-sm-3 control-label no-padding-right" for="form-field-1"></label>
			<div class="col-sm-3">
				<span id="form_error" style="color:red;">

                                </span>
			</div>
		</div>
                 <div class="form-group">
			<label class="col-sm-3 control-label no-padding-right" for="form-field-1">Import Data Excel </label>
			<div class="col-sm-2">
                          <input  type="file" size="50" id="import" name="import"  />
			</div>
		</div>	
            	<!--div class="form-group no-margin-bottom">
                    <label class="col-sm-3 control-label no-padding-right">Import Data Excel:</label>
                    <div class="col-sm-9">
                            <div id="form-attachments">
                                    <input type="file" size="20" name="import" />
                            </div>
                    </div>
                </div-->

        <div class="form-group">
			<label class="col-sm-3 control-label no-padding-right" for="form-field-2"></label>
			<div class="col-sm-9">
				<button class="btn btn-sm btn-success" id="submit" name="submit" value="Import">Submit <i class="icon-arrow-right icon-on-right bigger-110"></i></button>
			</div>
		</div>
	</div>
</div>

<script type="text/javascript">
$('#id-input-file-1 , #import').ace_file_input({
                                no_file:'No File ...',
                                btn_choose:'Choose',
                                btn_change:'Change',
                                droppable:true,
                                onchange:null,
                                thumbnail:false //| true | large
                                //whitelist:'gif|png|jpg|jpeg'
                                //blacklist:'exe|php'
                                //onchange:''
                                //
                        });
</script>
</div>
</body>
</html>